﻿using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;
using System.Web.Configuration;

namespace Studio7i.CapaPersistencia
{
    public class ConexionUtil
    {
        private const string _NombreCadenaConexion = "Studio7iConnectionString";
        private static string _CadenaConexion = null;

        public static string ObtenerCadena()
        {
            if (_CadenaConexion == null)
            {

                _CadenaConexion = "Data Source=(local);Initial Catalog=Studio7i;Integrated Security=SSPI;";

            }
            return _CadenaConexion;
        }
    }
}